Using closures for code generation

نویسندگان
چکیده

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Using Closures for Code Generation

This paper describes a new approach to compiling which is based on the extensive use of closures. In this method, a compiled expression is embodied by a closure whose application performs the evaluation of the given expression. For each primitive construct contained in the expression to compile, a closure is generated. As a whole, the compiled expression consists of a network of these closures....

متن کامل

Code Generation for Mercury

Mercury is a new purely declarative logic programming language that requires programmers to write declarations for every predicate in the program. Although the main motivation for this requirement is that it allows the compiler to catch most programmer errors, it also allows the Mercury code generator to rely on the presence of type, mode and determinism information about every predicate in the...

متن کامل

Code Generation for Multiple

There has been a great amount of recent work toward unifying iteration reordering transformations. Many of these approaches represent transformations as aane mappings from the original iteration space to a new iteration space. These approaches show a great deal of promise, but they all rely on the ability to generate code that iterates over the points in these new iteration spaces in the approp...

متن کامل

Code Generation Using Xml Based Document Transformation

Software projects can greatly benefit from custom document generators. The term 'document' in the context of a software project includes various software artifacts. A software project consists of various activities which lead to the production of documents in many forms. An example of such a document is a programming language file that is used to implement computational specifications. The docu...

متن کامل

One-pass Code Generation Using Continuations

Translation schema are described, using the functional notation of Peyton Jones, which make possible the generation of high quality code for conditional formulas and boolean expressions. These use contextual information describing the continuation of evaluation after that of the formula being translated. The technique can be used for the incremental improvement of a code generator, leading even...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Computer Languages

سال: 1987

ISSN: 0096-0551

DOI: 10.1016/0096-0551(87)90012-9